<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style>
#set{
text-align:center ;
font-size:20px ;
}
#check{
display:none ;
}
</style>
<title>Setup your popup plugin</title>
</head>
<body>
<div id="set">
<h1>Enter you feed address here</h1><br/>
<span style="font-size:14px">(Only enter the main part of your feed address<br/>eg. if your feed address is <i>https://feeds.feedburner.com/<b>codplex</b></i> then only add <b>codplex</b> in the form below)</span><br/><br/>
<input id="link" type="text" width="100px"/><input type="submit" onclick="display()"/><br/><br/>
<textarea id="code" cols="100" rows="5"></textarea><br/>
<div id="check" style="font-size:16 ; color:green">Copy the above code and paste in your site's template html or in any specific page where you want your popup to appear.</div>
</div>
<script>
var link = document.getElementById("link") ;
function display(){
document.getElementById("code").innerHTML = "&lt;script src=&quot;http://popup-newsletter.googlecode.com/git/setup.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;"+" "+"&lt;script&gt;feed=&quot;"+link.value+"&quot;;someVar.store(feed);&lt;/script&gt;"+"<br/>"+"&lt;object data=&quot;http://popup-newsletter.googlecode.com/git/popup.html&quot; width=&quot;100%&quot; height=&quot;100%&quot;&gt;&lt;/object&gt;" ;

if(document.getElementById("code").value != "")
document.getElementById("check").style.display = "block" ;
}
</script>
</body>
</html>
